package edu.bupt.changelog.history;

import edu.bupt.changelog.demo.service.dto.AgentDO;
import edu.bupt.changelog.demo.service.dto.RequestDO;

public enum HistoryEntity {

    REQUEST("1", RequestDO.class),
    AGENT("2",AgentDO.class);


    private String bizType;
    private Class entityClass;

    HistoryEntity(String bizType, Class entityClass){
        this.bizType=bizType;
        this.entityClass=entityClass;
    }

    public String getBizType() {
        return bizType;
    }

    public Class getEntityClass() {
        return entityClass;
    }
}
